/**
 * LinksEntity.java 上午10:18:07 2012-5-5
 * Cyber Information Technology Co.,Ltd.
 *   
 *   http://www.citchina.cn
 *   citchina.org@gmail.com
 */
package cn.cit.wcif.links.persistence.jpa.entity;

import java.sql.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;

import cn.cit.wcif.links.api.persistence.ILinksEntity;

/**
 * @author Jonathan
 * @version 1.0
 * 
 */
@Entity
@Table(name = "LINKS")
@NamedQueries({ @NamedQuery(name = "LINKS.findAll", query = "select a from LinksEntity a") })
public class LinksEntity implements ILinksEntity {

	@Id
	@GeneratedValue
	private String ID;
	private String linksType;
	private String linksURL;
	private String lang;
	private String contentName;
	private String publishUserID;
	private Date publishDate;
	private String chID;
	private String recommend;
	private Date updateTime;
	private String updateUserID;
	private String contentState;
	private String backReason;

	/*
	 * (non-Javadoc)
	 * 
	 * @see cn.cit.wcif.links.api.persistence.ILinksEntity#getID()
	 */
	@Override
	public String getID() {
		return this.ID;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see cn.cit.wcif.links.api.persistence.ILinksEntity#getLinksType()
	 */
	@Override
	public String getLinksType() {
		return this.linksType;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see cn.cit.wcif.links.api.persistence.ILinksEntity#getLinksURL()
	 */
	@Override
	public String getLinksURL() {
		return this.linksURL;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see cn.cit.wcif.links.api.persistence.ILinksEntity#getLang()
	 */
	@Override
	public String getLang() {
		return this.lang;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see cn.cit.wcif.links.api.persistence.ILinksEntity#getContentName()
	 */
	@Override
	public String getContentName() {
		return this.contentName;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see cn.cit.wcif.links.api.persistence.ILinksEntity#getPublishUserID()
	 */
	@Override
	public String getPublishUserID() {
		return this.publishUserID;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see cn.cit.wcif.links.api.persistence.ILinksEntity#getPublishDate()
	 */
	@Override
	public Date getPublishDate() {
		return this.publishDate;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see cn.cit.wcif.links.api.persistence.ILinksEntity#getChID()
	 */
	@Override
	public String getChID() {
		return this.chID;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see cn.cit.wcif.links.api.persistence.ILinksEntity#getRecommend()
	 */
	@Override
	public String getRecommend() {
		return this.recommend;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see cn.cit.wcif.links.api.persistence.ILinksEntity#getUpdateTime()
	 */
	@Override
	public Date getUpdateTime() {
		return this.updateTime;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see cn.cit.wcif.links.api.persistence.ILinksEntity#getUpdateUserID()
	 */
	@Override
	public String getUpdateUserID() {
		return this.updateUserID;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see cn.cit.wcif.links.api.persistence.ILinksEntity#getContentState()
	 */
	@Override
	public String getContentState() {
		return this.contentState;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see cn.cit.wcif.links.api.persistence.ILinksEntity#getBackReason()
	 */
	@Override
	public String getBackReason() {
		return this.backReason;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * cn.cit.wcif.links.api.persistence.ILinksEntity#setID(java.lang.String)
	 */
	@Override
	public void setID(String id) {
		this.ID = id;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * cn.cit.wcif.links.api.persistence.ILinksEntity#setLinksType(java.lang
	 * .String)
	 */
	@Override
	public void setLinksType(String type) {
		this.linksType = type;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * cn.cit.wcif.links.api.persistence.ILinksEntity#setLinksURL(java.lang.
	 * String)
	 */
	@Override
	public void setLinksURL(String url) {
		this.linksURL = url;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * cn.cit.wcif.links.api.persistence.ILinksEntity#setLang(java.lang.String)
	 */
	@Override
	public void setLang(String lang) {
		this.lang = lang;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * cn.cit.wcif.links.api.persistence.ILinksEntity#setContentName(java.lang
	 * .String)
	 */
	@Override
	public void setContentName(String contentName) {
		this.contentName = contentName;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * cn.cit.wcif.links.api.persistence.ILinksEntity#setPublishUserID(java.
	 * lang.String)
	 */
	@Override
	public void setPublishUserID(String publishUserID) {
		this.publishUserID = publishUserID;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * cn.cit.wcif.links.api.persistence.ILinksEntity#setPublishDate(java.sql
	 * .Date)
	 */
	@Override
	public void setPublishDate(Date date) {
		this.publishDate = date;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * cn.cit.wcif.links.api.persistence.ILinksEntity#setChID(java.lang.String)
	 */
	@Override
	public void setChID(String chId) {
		this.chID = chId;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * cn.cit.wcif.links.api.persistence.ILinksEntity#setRecommend(java.lang
	 * .String)
	 */
	@Override
	public void setRecommend(String recommend) {
		this.recommend = recommend;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * cn.cit.wcif.links.api.persistence.ILinksEntity#setUpdateTime(java.sql
	 * .Date)
	 */
	@Override
	public void setUpdateTime(Date date) {
		this.updateTime = date;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * cn.cit.wcif.links.api.persistence.ILinksEntity#setUpdateUserID(java.lang
	 * .String)
	 */
	@Override
	public void setUpdateUserID(String userId) {
		this.updateUserID = userId;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * cn.cit.wcif.links.api.persistence.ILinksEntity#setContentState(java.lang
	 * .String)
	 */
	@Override
	public void setContentState(String contentState) {
		this.contentState = contentState;
	}

	/*
	 * (non-Javadoc)
	 * 
	 * @see
	 * cn.cit.wcif.links.api.persistence.ILinksEntity#setBackReason(java.lang
	 * .String)
	 */
	@Override
	public void setBackReason(String backReason) {
		this.backReason = backReason;
	}

}
